using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace Avon
{
    /// <summary>
    /// ez a kezdo form, ebben csak gombok es labelek vannak, es ha ra kattintunk egy adott gombra
    /// akkor meghivja a hozza tartozo formot
    /// </summary>
    public partial class KezdolapForm : Form
    {
        public KezdolapForm()
        {
            InitializeComponent();
        }
        /// <summary>
        /// ha ra kattintunk a kilep gombra, akkor kilep az egeszbol
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void buttonExit_Click(object sender, EventArgs e)
        {
            Application.Exit();
        }
        /// <summary>
        /// ha ra kattintunk a kliens gombra, behozza a kliensekFormot
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void buttonKliens_Click(object sender, EventArgs e)
        {
            KliensForm tf = new KliensForm();
            tf.Show();
        }
        /// <summary>
        /// ha ra kattintunk a tanacsadono gombra, behozza a tanacsadonoFormot
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void buttonTanacsadono_Click(object sender, EventArgs e)
        {
            TanacsadoForm tf = new TanacsadoForm();
            tf.Show();
        }
        /// <summary>
        /// ha ra kattintunk a koordonator gombra, behozza a koordonatorFormot
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void buttonKoordonator_Click(object sender, EventArgs e)
        {
            KoordonatorForm tf = new KoordonatorForm();
            tf.Show();
        }
        /// <summary>
        /// ha ra kattintunk a szamlak gombra, behozza a szamlakFormot
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void buttonSzamla_Click(object sender, EventArgs e)
        {
            SzamlakForm tf = new SzamlakForm();
            tf.Show();
        }
        /// <summary>
        /// ha ra kattintunk a szallitok gombra, behozza a szallitokFormot
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void buttonSzallito_Click(object sender, EventArgs e)
        {
            SzallitokForm tf = new SzallitokForm();
            tf.Show();
        }

      
        /// <summary>
        /// ha ra kattintunk a katalogus gombra, behozza a katalogusFormot
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void buttonKatalogus_Click_1(object sender, EventArgs e)
        {
            KatalogusForm tf = new KatalogusForm();
            tf.Show();
        }
        /// <summary>
        /// ha ra kattintunk a termekek gombra, behozza a termekekFormot
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void buttonTermekek_Click(object sender, EventArgs e)
        {
            TermekForm tf = new TermekForm();
            tf.Show();
        }
        /// <summary>
        /// ha ra kattintunk a rendel gombra, behozza a RendelFormot
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void buttonRendel_Click(object sender, EventArgs e)
        {
            RendelForm tf = new RendelForm();
            tf.Show();
        }


    }
}